/**
 * 
 */
package com.zhaoyan.entity;

/**
 * @author zhaoyan
 *
 * 2020年2月10日
 */
public class OrderVo {
	
	private Integer order_status;//	订单状态1
	private Integer after_status;//	用户售后状态0
	private Integer pay_channel;//	支付渠道2
	private Integer order_settlement_status;//	订单结算状态1
	@Override
	public String toString() {
		return "OrderVo [order_status=" + order_status + ", after_status=" + after_status + ", pay_channel="
				+ pay_channel + ", order_settlement_status=" + order_settlement_status + "]";
	}
	/**
	 * @param order_status
	 * @param after_status
	 * @param pay_channel
	 * @param order_settlement_status
	 */
	public OrderVo(Integer order_status, Integer after_status, Integer pay_channel, Integer order_settlement_status) {
		super();
		this.order_status = order_status;
		this.after_status = after_status;
		this.pay_channel = pay_channel;
		this.order_settlement_status = order_settlement_status;
	}
	public Integer getOrder_status() {
		return order_status;
	}
	public void setOrder_status(Integer order_status) {
		this.order_status = order_status;
	}
	public Integer getAfter_status() {
		return after_status;
	}
	public void setAfter_status(Integer after_status) {
		this.after_status = after_status;
	}
	public Integer getPay_channel() {
		return pay_channel;
	}
	public void setPay_channel(Integer pay_channel) {
		this.pay_channel = pay_channel;
	}
	public Integer getOrder_settlement_status() {
		return order_settlement_status;
	}
	public void setOrder_settlement_status(Integer order_settlement_status) {
		this.order_settlement_status = order_settlement_status;
	}
	/**
	 * 
	 */
	public OrderVo() {
		super();
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((after_status == null) ? 0 : after_status.hashCode());
		result = prime * result + ((order_settlement_status == null) ? 0 : order_settlement_status.hashCode());
		result = prime * result + ((order_status == null) ? 0 : order_status.hashCode());
		result = prime * result + ((pay_channel == null) ? 0 : pay_channel.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		OrderVo other = (OrderVo) obj;
		if (after_status == null) {
			if (other.after_status != null)
				return false;
		} else if (!after_status.equals(other.after_status))
			return false;
		if (order_settlement_status == null) {
			if (other.order_settlement_status != null)
				return false;
		} else if (!order_settlement_status.equals(other.order_settlement_status))
			return false;
		if (order_status == null) {
			if (other.order_status != null)
				return false;
		} else if (!order_status.equals(other.order_status))
			return false;
		if (pay_channel == null) {
			if (other.pay_channel != null)
				return false;
		} else if (!pay_channel.equals(other.pay_channel))
			return false;
		return true;
	}
	
	
	

}
